<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Moody for Facebook</title>
  </head>
  <body>
    {% if current_user %}
      <p><a href="{{ current_user.profile_url }}"><img src="http://graph.facebook.com/{{ current_user.id }}/picture"/></a></p>
      <p>You are logged in as <b>{{ current_user.name|escape }}</b>.</p>
      <p>Check out your mood <a href="http://fb-moody.appspot.com/mood/">here</a>! (Note: This will take about 60 sec)</p>
      <p><a href="/auth/logout/">Log out</a></p>
    {% else %}
      <p>Welcome to <b>Facebook Moody</b> v0.01</p>
      <p>You are not yet logged into this site.</p>
      <p>Please <a href="/auth/login/">log in</a> with Facebook using your account.</p>
    {% endif %}
  </body>
</html>
